/* 主题预加载样式，防止主题切换闪烁 */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.theme-initialized {
    opacity: 1;
}

/* 禁用主题切换时的过渡效果 */
body.theme-switching {
    transition: none !important;
}